package com.hakim.wfb.admin.service.api;

import com.hakim.wfb.admin.params.interest.*;
import com.hakim.wfb.admin.result.interest.ConsumeInterestView;
import com.hkfs.fundamental.api.data.ListResultEx;
import com.hkfs.fundamental.api.data.ObjectResultEx;
import com.hkfs.fundamental.api.data.ResultEx;

/**
 * Created by walkman on 2017/7/27.
 */
public interface ConsumeInterestService {

    /**
     * @param param
     * @return
     */
    ResultEx addInterest(AddConsumeInterestParam param);

    /**
     * @param param
     * @return
     */
    ResultEx updateInterest(UpdateConsumeInterestParam param);

    /**
     * @param param
     * @return
     */
    ResultEx deleteInterest(DeleteConsumeInterestParam param);

    /**
     * @param param
     * @return
     */
    ObjectResultEx<ConsumeInterestView> getInterest(GetConsumeInterestParam param);

    /**
     * @param param
     * @return
     */
    ListResultEx<ConsumeInterestView> queryInterest(QueryConsumeInterestParamWebPage param);

}
